<div class="reli-box">
    <table class="table reli-box-table">
        <thead>
        <tr>
            <th ng-repeat="head in headers" ng-class="'reli-head'+$index">
                {{head}}
            </th>
        </tr>
        </thead>
        <tbody class="reli-selected-tbody">
        <tr ng-repeat="rent in $parent.rentProtocolList" ng-mousemove="mouseMoveRent(rent)" ng-mouseleave="leaveFocusStaffInformation(rent)" ng-click="clickRent(rent)" >
            <td class="sta-li-row sta-li-span sta-li-button-black" ng-class="changeSelectedclass(rent)"></td>
            <td class="reli-compant-tda"><span ng-click="showRentDetail(rent)" class="reli-company-name">{{rent.companyName}}</span></td>
            <td class="reli-compant-tdb">{{rent.roomNum}}</td>
            <td class="reli-compant-tdc">{{rent.getEndTime()}}</td>
            <td class="reli-compant-tdc">{{rent.getImminentPayTime()}}</td>
            <td ng-class="{'OVERDUE': 'reli-selected', 'CONFIRM': 'reli-selected-confirm'}[rent.rentStatus] " class="reli-compant-tdb">{{rent.getRentStatusStr()}}</td>
            <td class="reli-compant-tdd">
                <input ng-show="!rent.lockAuthorized" class="reli-auth pro-phone-revise btn btn-danger reli-auth-btn"
                       type="button" ng-click="showRentAuthWindow()" value="授权">
                <input ng-show="rent.rentStatus == 'OVERDUE' && rent.lockAuthorized" class="reli-no-auth pro-phone-revise btn btn-danger reli-auth-btn" type="button" value="取消授权" ng-click="showRentCancelAuthWindow()" >
            </td>
        </tr>
        </tbody>
    </table>
</div>